package com.chushouya.order.service.api;

import com.general.framework.core.schema.PageResult;
import com.chushouya.order.dto.admin.orderclothesproduct.OrderClothesProductQuery;
import com.chushouya.order.dto.api.order.OrderCancelApiDTO;
import com.chushouya.order.dto.api.orderclothesproduct.OrderClothesApiDTO;
import com.chushouya.order.dto.api.orderclothesproduct.OrderClothesListApiDTO;

/**
 * 旧衣订单API服务接口
 */
public interface OrderClothesApiService {

    /**
     * 获取用户订单列表
     */
    PageResult<OrderClothesListApiDTO> getOrderList(OrderClothesProductQuery query);

    /**
     * 获取订单详情
     */
    OrderClothesApiDTO getOrderDetail(String orderNo);

    /**
     * 取消订单
     */
    void cancelOrder(OrderCancelApiDTO dto);
}
